jade.content.schema
Class ContentElementSchema

java.lang.Object
  |
  +--jade.content.schema.ObjectSchema
        |
        +--jade.content.schema.ContentElementSchema
Direct Known Subclasses:
ContentElementListSchema, EqualsSchema, GenericActionSchema, IRESchema, PropositionSchema

public class ContentElementSchema
extends ObjectSchema

Author:
Federico Bergenti - Universita` di Parma

Field Summary
static java.lang.String BASE_NAME
           
 
Fields inherited from class jade.content.schema.ObjectSchema
MANDATORY, OPTIONAL
 
Constructor Summary
protected ContentElementSchema(java.lang.String name)
          Creates a schema with a name.
 
Method Summary
static ContentElementSchema getBaseSchema()
          Gets the base schema of this schema.
 AbsObject newInstance()
          Creates a new instance.
 
Methods inherited from class jade.content.schema.ObjectSchema
addBaseSchema, addElement, addElement, getNames, getSchema, getTypeName, isAttribute, isMandatory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_NAME

public static final java.lang.String BASE_NAME
Constructor Detail

ContentElementSchema

protected ContentElementSchema(java.lang.String name)
Creates a schema with a name.
Parameters:
name - the name of the schema.
Method Detail

getBaseSchema

public static ContentElementSchema getBaseSchema()
Gets the base schema of this schema.
Returns:
the base schema.

newInstance

public AbsObject newInstance()
Creates a new instance.
Overrides:
newInstance in class ObjectSchema
Returns:
the new instance.